﻿@model DauGiaApp.Models.TaiKhoan
@{
    ViewBag.Title = "ThongTinChiTietTaiKhoan";
    Layout = "~/Views/Shared/_Layout.cshtml";
    
    
}
<link rel="stylesheet" type="text/css" href="../../Content/thongtintaikhoan1.css" />
<link href="../../Content/style.css" rel="stylesheet" type="text/css" />
<link href="../../Scripts/jquery.simpledialog/jquery.simpledialog.0.1.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery-1.6.js" type="text/javascript"></script>

<script src="../../Scripts/jquery.simpledialog/jquery.simpledialog.0.1.js" type="text/javascript"></script>
<script src="../../Scripts/D4Scripts/d4script.js" type="text/javascript"></script>
<h2 class="title_hot">Thông tin chi tiết tài khoản</h2>

<form id="form-cap-nhat">

<div id="individual">
    <ul>
        <li>
            <div id="loader" style="display: none;">                
                <p>
                    đang cập nhật...</p>
                <img src="../../Content/images/ajax-loader.gif" alt="loading..." />
            </div>
        </li>
        <li>
            <div id="ket_qua">
            </div>
        </li>
        <li>
            <div class="left">
                Họ tên :</div>
            <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.HoTen" name="HoTen"/></div> 
        </li>
        <li>
            <div class="left">
                Giới Tính :</div>
            <div class="right">     
                @{
                    string checkNam = Model.ThongTinTaiKhoan.GioiTinh == "Nam" ? "checked" : "";
                    string checkNu = Model.ThongTinTaiKhoan.GioiTinh == "Nữ" ? "checked" : "";
                    <input type="radio"  class="gender" @checkNam value="Nam"  name="GioiTinh"/> <p class="male">Nam</p>
                    <input type="radio" class="gender" @checkNu value="Nữ"  name="GioiTinh" /> <p class="male">Nữ</p>        
                }
                            
            </div>
        </li>
        <li>
            <div class="left">
                Ngày sinh :</div>
            <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.NgaySinh" name="NgaySinh"/></div>         
            
        </li>
         <li>
            <div class="left">
                Email :</div>
            <div class="right">
                <strong>@Model.Email</strong></div>
        </li>
        <li>
            <div class="left">
                Nơi sinh :</div>            
            <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.NoiSinh" name="NoiSinh"/></div> 
        </li>
        <li>
            <div class="left">
                Địa chỉ :</div>            
            <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.DiaChi" name="DiaChi"/></div> 
        </li>
        <li>
            <div class="left">
                Số điện thoại :</div>            
           <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.SoDienThoai" name="SoDienThoai"/></div> 
        </li>
        <li>
            <div class="left">
                Mã thẻ tín dụng :</div>
            <div class="right"><input type="text" value="@Model.ThongTinTaiKhoan.MaTheTinhDung" name="MaTheTinhDung"/></div> 
        </li>
        <li>
            <div class="left">
            </div>
            <div class="right_btn">
                <input type="button" id="btn_submit" onclick="capnhattaikhoan();" value="Lưu chỉnh sửa"  class="btn_gray"/>
                <input type="button" value="Quay về" onclick="window.location = '/TaiKhoan/ThongTinTaiKhoan';" />
            </div>
        </li>
    </ul>
</div>
</form>
